package _6_Struct._6_4_decorator;

public class Decorator implements Component {
    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    public Decorator() {
    }

    @Override
    public void serivce1() {
        component.serivce1();
    }
}
